//
//  GenerateCardViewController.h
//  QRMaster
//
//  Created by myApple on 15/3/31.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CardInfoModel.h"
#import "BaseViewController.h"
#import "AllFunctionCardModel.h"

@interface GenerateCardViewController : BaseViewController

/**
 *  一般房卡
 *
 *  @param communityId   集群ID号
 *  @param communityName 集群名称
 *  @param model         房间模型
 *
 *  @return 返回self
 */
-(id)initwithCommuntyId:(NSString *)communityId
          communityName:(NSString *)communityName
                  model:(CardInfoModel *)model;

/**
 *  是否收藏
 */
@property(nonatomic,assign)BOOL isCollectFlag;


/**
 *  功能卡
 *
 *  @param model 功能卡模型
 *
 *  @return 返回self
 */
-(id)initwithFunctionCardModel:(AllFunctionCardModel *)model;

//@property(nonatomic,copy)NSString * communityid;
//
//@property(nonatomic,copy)NSString * communityName;//集群名称
//
//@property(nonatomic,retain)CardInfoModel * model;

@end
